package com.sophossystems.client.asmon.hibernate;

import java.io.Serializable;

import com.sophossystems.client.asmon.dto.RecolectaDocDTO;

public class RecolectaDoc implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = -1105985424008456356L;

	/** 
	 * This attribute maps to the column idRecolectaDoc in the RECOLECTA_DOC table.
	 */
	protected int idRecolectaDoc;

	/** 
	 * This attribute maps to the column idCliente in the RECOLECTA_DOC table.
	 */
	protected int idCliente;

	/** 
	 * This attribute represents whether the primitive attribute idCliente is null.
	 */
	protected boolean idClienteNull = true;

	/** 
	 * This attribute maps to the column idDireccion in the RECOLECTA_DOC table.
	 */
	protected int idDireccion;

	/** 
	 * This attribute represents whether the primitive attribute idDireccion is null.
	 */
	protected boolean idDireccionNull = true;

	/** 
	 * This attribute maps to the column contacto in the RECOLECTA_DOC table.
	 */
	protected String contacto;

	/** 
	 * This attribute maps to the column tel1 in the RECOLECTA_DOC table.
	 */
	protected String tel1;

	/** 
	 * This attribute represents whether the primitive attribute tel1 is null.
	 */
	protected boolean tel1Null = true;

	/** 
	 * This attribute maps to the column ext1 in the RECOLECTA_DOC table.
	 */
	protected String ext1;

	/** 
	 * This attribute represents whether the primitive attribute ext1 is null.
	 */
	protected boolean ext1Null = true;

	/** 
	 * This attribute maps to the column periodoRec in the RECOLECTA_DOC table.
	 */
	protected String periodoRec;

	/** 
	 * This attribute maps to the column horarioRecoleccion in the RECOLECTA_DOC table.
	 */
	protected String horarioRecoleccion;

	/** 
	 * This attribute maps to the column zona in the RECOLECTA_DOC table.
	 */
	protected String zona;
	
	protected int lugarRecoleccion;

	/**
	 * Method 'RecolectaDoc'
	 * 
	 */
	public RecolectaDoc()
	{
	}

	/**
	 * Method 'getIdRecolectaDoc'
	 * 
	 * @return int
	 */
	public int getIdRecolectaDoc()
	{
		return idRecolectaDoc;
	}

	/**
	 * Method 'setIdRecolectaDoc'
	 * 
	 * @param idRecolectaDoc
	 */
	public void setIdRecolectaDoc(int idRecolectaDoc)
	{
		this.idRecolectaDoc = idRecolectaDoc;
	}

	/**
	 * Method 'getIdCliente'
	 * 
	 * @return int
	 */
	public int getIdCliente()
	{
		return idCliente;
	}

	/**
	 * Method 'setIdCliente'
	 * 
	 * @param idCliente
	 */
	public void setIdCliente(int idCliente)
	{
		this.idCliente = idCliente;
		this.idClienteNull = false;
	}

	/** 
	 * Sets the value of idClienteNull
	 */
	public void setIdClienteNull(boolean idClienteNull)
	{
		this.idClienteNull = idClienteNull;
	}

	/** 
	 * Gets the value of idClienteNull
	 */
	public boolean isIdClienteNull()
	{
		return idClienteNull;
	}

	/**
	 * Method 'getIdDireccion'
	 * 
	 * @return int
	 */
	public int getIdDireccion()
	{
		return idDireccion;
	}

	/**
	 * Method 'setIdDireccion'
	 * 
	 * @param idDireccion
	 */
	public void setIdDireccion(int idDireccion)
	{
		this.idDireccion = idDireccion;
		this.idDireccionNull = false;
	}

	/** 
	 * Sets the value of idDireccionNull
	 */
	public void setIdDireccionNull(boolean idDireccionNull)
	{
		this.idDireccionNull = idDireccionNull;
	}

	/** 
	 * Gets the value of idDireccionNull
	 */
	public boolean isIdDireccionNull()
	{
		return idDireccionNull;
	}

	/**
	 * Method 'getContacto'
	 * 
	 * @return java.lang.String
	 */
	public java.lang.String getContacto()
	{
		return contacto;
	}

	/**
	 * Method 'setContacto'
	 * 
	 * @param contacto
	 */
	public void setContacto(java.lang.String contacto)
	{
		this.contacto = contacto;
	}

	/**
	 * Method 'getTel1'
	 * 
	 * @return int
	 */
	public String getTel1()
	{
		return tel1;
	}

	/**
	 * Method 'setTel1'
	 * 
	 * @param tel1
	 */
	public void setTel1(String tel1)
	{
		this.tel1 = tel1;
		this.tel1Null = false;
	}

	/** 
	 * Sets the value of tel1Null
	 */
	public void setTel1Null(boolean tel1Null)
	{
		this.tel1Null = tel1Null;
	}

	/** 
	 * Gets the value of tel1Null
	 */
	public boolean isTel1Null()
	{
		return tel1Null;
	}

	/**
	 * Method 'getExt1'
	 * 
	 * @return int
	 */
	public String getExt1()
	{
		return ext1;
	}

	/**
	 * Method 'setExt1'
	 * 
	 * @param ext1
	 */
	public void setExt1(String ext1)
	{
		this.ext1 = ext1;
		this.ext1Null = false;
	}

	/** 
	 * Sets the value of ext1Null
	 */
	public void setExt1Null(boolean ext1Null)
	{
		this.ext1Null = ext1Null;
	}

	/** 
	 * Gets the value of ext1Null
	 */
	public boolean isExt1Null()
	{
		return ext1Null;
	}

	/**
	 * Method 'getPeriodoRec'
	 * 
	 * @return java.lang.String
	 */
	public java.lang.String getPeriodoRec()
	{
		return periodoRec;
	}

	/**
	 * Method 'setPeriodoRec'
	 * 
	 * @param periodoRec
	 */
	public void setPeriodoRec(java.lang.String periodoRec)
	{
		this.periodoRec = periodoRec;
	}

	/**
	 * Method 'getHorarioRecoleccion'
	 * 
	 * @return java.lang.String
	 */
	public java.lang.String getHorarioRecoleccion()
	{
		return horarioRecoleccion;
	}

	/**
	 * Method 'setHorarioRecoleccion'
	 * 
	 * @param horarioRecoleccion
	 */
	public void setHorarioRecoleccion(java.lang.String horarioRecoleccion)
	{
		this.horarioRecoleccion = horarioRecoleccion;
	}

	/**
	 * Method 'getZona'
	 * 
	 * @return java.lang.String
	 */
	public java.lang.String getZona()
	{
		return zona;
	}

	/**
	 * Method 'setZona'
	 * 
	 * @param zona
	 */
	public void setZona(java.lang.String zona)
	{
		this.zona = zona;
	}
	
	

	/**
	 * @return the lugarRecoleccion
	 */
	public int getLugarRecoleccion() {
		return lugarRecoleccion;
	}

	/**
	 * @param lugarRecoleccion the lugarRecoleccion to set
	 */
	public void setLugarRecoleccion(int lugarRecoleccion) {
		this.lugarRecoleccion = lugarRecoleccion;
	}

	public void mapper (RecolectaDocDTO recolecta){
		
		this.contacto = recolecta.getContacto();
		this.ext1 = recolecta.getExt1();
		this.horarioRecoleccion = recolecta.getHorarioRecoleccion();
		this.idCliente = recolecta.getIdCliente();
		this.idDireccion = recolecta.getIdDireccion();
		this.periodoRec = recolecta.getPeriodoRec();
		this.tel1 = recolecta.getTel1();
		this.zona = recolecta.getZona();
		this.lugarRecoleccion = recolecta.getLugarRecoleccion();
	}
}
